@CHARSET "UTF-8";
/* 整体页面容器样式，类似卡片布局 */
.container {
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(240, 240, 240, 0.6) 100%);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    font-family: sans-serif;
}

/* 标题样式 */
h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-bottom: 20px;
}

th,
td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
    color: #333;
}

th {
    background-color: #f4f4f4;
}

/* 分页和按钮容器样式 */
.pagination-and-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

/* 分页链接样式 */
a {
    color: #333;
    text-decoration: none;
    margin-right: 10px;
}

a:hover {
    text-decoration: underline;
}

/* 表单样式 */
form {
    display: inline-block;
}

input[type="number"] {
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
}

input[type="submit"] {
    padding: 5px 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

/* 按钮样式 */
button {
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 14px;
}

button#exit-btn {
    background-color: #dc3545;
    color: white;
}

button#exit-btn:hover {
    background-color: #c82333;
}

button#add-btn {
    background-color: #17a2b8;
    color: white;
}

button#add-btn:hover {
    background-color: #138496;
}

button.update-btn {
    background-color: #ffc107;
    color: white;
}

button.update-btn:hover {
    background-color: #e0a800;
}

button.delete-btn {
    background-color: #dc3545;
    color: white;
}

button.delete-btn:hover {
    background-color: #c82333;
}
body {
    background-image: url('../image/奥特曼.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}